home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-06 | 828 b | 19 lines | [TEXT/ToyS] |
- tell application "MacWebCam"
- -- This script switches between two logos each time a picture is taken.
- -- If you want to use this, change the absolute path names to match your hard drive.
- -- Then set this script (text file) as the preprocess script.
-
- set numPics to get pictures taken of active document
- -- find out if we are on picture "even" or "odd" by taking the remainder of the number of pictures taken divided by 2
- if ((numPics mod 2) is equal to 1) then
- -- odd picture
- set file of logo of active document to "hd:Web:WebCam:switch logos:leftside.pict"
- set horizontal justification of logo of active document to left
- else
- -- even picture
- set file of logo of active document to "hd:Web:WebCam:switch logos:rightside.pict"
- set horizontal justification of logo of active document to right
- end if
-
- end tell
-